package team.fourth.combat.service;



import team.fourth.combat.commen.entity.PageResult;
import team.fourth.combat.commen.entity.QueryPageBean;
import team.fourth.combat.commen.exceptions.CheckItemException;
import team.fourth.combat.pojo.CheckItem;

import java.util.List;

public interface CheckItemService {
    void add(CheckItem checkItem);

    PageResult findPage(QueryPageBean queryPageBean);

    /**
     *
     * @param id
     * @throws CheckItemException dubbo接口一定异常
     */
    void delete(Integer id) throws CheckItemException;

    CheckItem findById(Integer id);

    void edit(CheckItem checkItem);

    List<CheckItem> findAll();
}
